package com.suray.wcs.service.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.suray.commin.annotation.Excel;
import com.suray.commin.core.utils.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 系统通知
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcs_notification")
public class NotificationDB extends BaseModel {
    /**
     * 通知ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "序号")
    private Long noticeId;
    /**
     * 通知内容
     */
    @Excel(name = "通知信息")
    private String content;
    /**
     * 严重级别
     */
    @Excel(name = "严重级别")
    private Integer severityLevel;
    /**
     * 通知类型
     */
    @Excel(name = "通知类型", dictType = "sys_notice_type")
    private Byte notificationType;
    /**
     * 已读标志
     */
    @Excel(name = "是否已读", readConverterExp = "false=未读,true=已读")
    private Boolean isRead;


}
